Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix circular require warning #828

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Fix circular require warning #828

merged 1 commit into from
Jun 14, 2024

Conversation

imjoehaines
Copy link
Member

Goal

This PR fixes a circular require warning caused by several files requiring the main bugsnag.rb file

I've also gone through and removed other duplicate requires, consolidating them into bugsnag.rb

See #822

@tomlongridge
Copy link
Contributor

Is it worth considering a rake task to check for this in future?

@imjoehaines
Copy link
Member Author

imjoehaines commented Jun 12, 2024

Is it worth considering a rake task to check for this in future?

I think the best approach would be to fail the Maze Runner tests if a warning is emitted. I've raised PLAT-12273 to track that work

@imjoehaines imjoehaines merged commit 946521e into next Jun 14, 2024
137 checks passed
@imjoehaines imjoehaines deleted the fix-circular-require branch June 14, 2024 07:48
imjoehaines added a commit that referenced this pull request Jun 18, 2024
@imjoehaines imjoehaines mentioned this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants